Optimal. Leaf size=125 \[ \frac{3 \sqrt{\pi } e^{-a} \text{Erf}\left (\sqrt{b} x\right )}{16 \sqrt{b}}-\frac{\sqrt{\frac{\pi }{3}} e^{-3 a} \text{Erf}\left (\sqrt{3} \sqrt{b} x\right )}{16 \sqrt{b}}-\frac{3 \sqrt{\pi } e^a \text{Erfi}\left (\sqrt{b} x\right )}{16 \sqrt{b}}+\frac{\sqrt{\frac{\pi }{3}} e^{3 a} \text{Erfi}\left (\sqrt{3} \sqrt{b} x\right )}{16 \sqrt{b}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0718229, antiderivative size = 125, normalized size of antiderivative = 1., number of steps used = 8, number of rules used = 4, integrand size = 10, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.4, Rules used = {5300, 5298, 2204, 2205} \[ \frac{3 \sqrt{\pi } e^{-a} \text{Erf}\left (\sqrt{b} x\right )}{16 \sqrt{b}}-\frac{\sqrt{\frac{\pi }{3}} e^{-3 a} \text{Erf}\left (\sqrt{3} \sqrt{b} x\right )}{16 \sqrt{b}}-\frac{3 \sqrt{\pi } e^a \text{Erfi}\left (\sqrt{b} x\right )}{16 \sqrt{b}}+\frac{\sqrt{\frac{\pi }{3}} e^{3 a} \text{Erfi}\left (\sqrt{3} \sqrt{b} x\right )}{16 \sqrt{b}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5300
Rule 5298
Rule 2204
Rule 2205
Rubi steps
\begin{align*} \int \sinh ^3\left (a+b x^2\right ) \, dx &=\int \left (-\frac{3}{4} \sinh \left (a+b x^2\right )+\frac{1}{4} \sinh \left (3 a+3 b x^2\right )\right ) \, dx\\ &=\frac{1}{4} \int \sinh \left (3 a+3 b x^2\right ) \, dx-\frac{3}{4} \int \sinh \left (a+b x^2\right ) \, dx\\ &=-\left (\frac{1}{8} \int e^{-3 a-3 b x^2} \, dx\right )+\frac{1}{8} \int e^{3 a+3 b x^2} \, dx+\frac{3}{8} \int e^{-a-b x^2} \, dx-\frac{3}{8} \int e^{a+b x^2} \, dx\\ &=\frac{3 e^{-a} \sqrt{\pi } \text{erf}\left (\sqrt{b} x\right )}{16 \sqrt{b}}-\frac{e^{-3 a} \sqrt{\frac{\pi }{3}} \text{erf}\left (\sqrt{3} \sqrt{b} x\right )}{16 \sqrt{b}}-\frac{3 e^a \sqrt{\pi } \text{erfi}\left (\sqrt{b} x\right )}{16 \sqrt{b}}+\frac{e^{3 a} \sqrt{\frac{\pi }{3}} \text{erfi}\left (\sqrt{3} \sqrt{b} x\right )}{16 \sqrt{b}}\\ \end{align*}
Mathematica [A] time = 0.136555, size = 136, normalized size = 1.09 \[ \frac{\sqrt{\frac{\pi }{3}} \left (3 \sqrt{3} (\cosh (a)-\sinh (a)) \text{Erf}\left (\sqrt{b} x\right )+(\sinh (3 a)-\cosh (3 a)) \text{Erf}\left (\sqrt{3} \sqrt{b} x\right )-3 \sqrt{3} \sinh (a) \text{Erfi}\left (\sqrt{b} x\right )+\sinh (3 a) \text{Erfi}\left (\sqrt{3} \sqrt{b} x\right )-3 \sqrt{3} \cosh (a) \text{Erfi}\left (\sqrt{b} x\right )+\cosh (3 a) \text{Erfi}\left (\sqrt{3} \sqrt{b} x\right )\right )}{16 \sqrt{b}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.036, size = 86, normalized size = 0.7 \begin{align*} -{\frac{{{\rm e}^{-3\,a}}\sqrt{\pi }\sqrt{3}}{48}{\it Erf} \left ( x\sqrt{3}\sqrt{b} \right ){\frac{1}{\sqrt{b}}}}+{\frac{3\,\sqrt{\pi }{{\rm e}^{-a}}}{16}{\it Erf} \left ( x\sqrt{b} \right ){\frac{1}{\sqrt{b}}}}+{\frac{{{\rm e}^{3\,a}}\sqrt{\pi }}{16}{\it Erf} \left ( \sqrt{-3\,b}x \right ){\frac{1}{\sqrt{-3\,b}}}}-{\frac{3\,{{\rm e}^{a}}\sqrt{\pi }}{16}{\it Erf} \left ( \sqrt{-b}x \right ){\frac{1}{\sqrt{-b}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.6408, size = 123, normalized size = 0.98 \begin{align*} \frac{\sqrt{3} \sqrt{\pi } \operatorname{erf}\left (\sqrt{3} \sqrt{-b} x\right ) e^{\left (3 \, a\right )}}{48 \, \sqrt{-b}} - \frac{\sqrt{3} \sqrt{\pi } \operatorname{erf}\left (\sqrt{3} \sqrt{b} x\right ) e^{\left (-3 \, a\right )}}{48 \, \sqrt{b}} + \frac{3 \, \sqrt{\pi } \operatorname{erf}\left (\sqrt{b} x\right ) e^{\left (-a\right )}}{16 \, \sqrt{b}} - \frac{3 \, \sqrt{\pi } \operatorname{erf}\left (\sqrt{-b} x\right ) e^{a}}{16 \, \sqrt{-b}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.79963, size = 369, normalized size = 2.95 \begin{align*} -\frac{\sqrt{3} \sqrt{\pi } \sqrt{-b}{\left (\cosh \left (3 \, a\right ) + \sinh \left (3 \, a\right )\right )} \operatorname{erf}\left (\sqrt{3} \sqrt{-b} x\right ) + \sqrt{3} \sqrt{\pi } \sqrt{b}{\left (\cosh \left (3 \, a\right ) - \sinh \left (3 \, a\right )\right )} \operatorname{erf}\left (\sqrt{3} \sqrt{b} x\right ) - 9 \, \sqrt{\pi } \sqrt{-b}{\left (\cosh \left (a\right ) + \sinh \left (a\right )\right )} \operatorname{erf}\left (\sqrt{-b} x\right ) - 9 \, \sqrt{\pi } \sqrt{b}{\left (\cosh \left (a\right ) - \sinh \left (a\right )\right )} \operatorname{erf}\left (\sqrt{b} x\right )}{48 \, b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \sinh ^{3}{\left (a + b x^{2} \right )}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.26431, size = 128, normalized size = 1.02 \begin{align*} -\frac{\sqrt{3} \sqrt{\pi } \operatorname{erf}\left (-\sqrt{3} \sqrt{-b} x\right ) e^{\left (3 \, a\right )}}{48 \, \sqrt{-b}} + \frac{\sqrt{3} \sqrt{\pi } \operatorname{erf}\left (-\sqrt{3} \sqrt{b} x\right ) e^{\left (-3 \, a\right )}}{48 \, \sqrt{b}} - \frac{3 \, \sqrt{\pi } \operatorname{erf}\left (-\sqrt{b} x\right ) e^{\left (-a\right )}}{16 \, \sqrt{b}} + \frac{3 \, \sqrt{\pi } \operatorname{erf}\left (-\sqrt{-b} x\right ) e^{a}}{16 \, \sqrt{-b}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]